#include "ObjectTypes.h"

float GetDensity(ObjectMaterial material)
{
	switch(material)
	{
	case OBJECTMATERIAL_STONE:
		return STONE_DENSITY;

	case OBJECTMATERIAL_WOOD:
		return WOOD_DENSITY;

	case OBJECTMATERIAL_BIRD:
		return BIRD_DENSITY;

	case OBJECTMATERIAL_EXPLOSIVE:
		return EXPLOSIVE_DENSITY;

	case OBJECTMATERIAL_DEFAULT:
	default:
		return DEFAULT_DENSITY;
	}
}